index.html.vue 89 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396
  1. <template>
  2. <div>
  3. <!-- 页面头部 -->
  4. <HomePageHead></HomePageHead>
  5. <!-- 页面导航 -->
  6. <HomePageNavigation></HomePageNavigation>
  7. <!-- 广告一 -->
  8. <HomeAdvertising :imgurl="adImg1"></HomeAdvertising>
  9. <!-- 二级导航列表 -->
  10. <div class="nav2top"></div>
  11. <div class="nav2">
  12. <ul class="inner">
  13. <li class="home">
  14. {{ title }}
  15. </li>
  16. <li class="titleList" v-for="(item, index) in pageData" :key="index">
  17. <NuxtLink :href="getLinkPath(item)" :title="item.alias">
  18. <span class="nav2_title">{{ item.alias }}</span>
  19. </NuxtLink>
  20. </li>
  21. </ul>
  22. </div>
  23. <div class="nav2btm"></div>
  24. <!-- 第一层 -->
  25. <!-- 第一部分 -->
  26. <div class="part1">
  27. <div class="inner">
  28. <div class="part1_left" v-if="pageData[0]">
  29. <div class="part1_title">
  30. <h2 class="nav_part1_left">
  31. <NuxtLink :href="getLinkPath(pageData[0])" v-if="pageData[0]" :title="pageData[0].alias">
  32. {{ pageData[0].alias }}
  33. </NuxtLink>
  34. <em></em>
  35. </h2>
  36. </div>
  37. <div class="part1_content">
  38. <div class="context_left">
  39. <div class="top" v-for="(item, index) in pageData[0].data" :key="index">
  40. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  41. <img :src="item.imgurl" alt="item.title">
  42. <span class="title1">{{ item.title }}</span>
  43. </NuxtLink>
  44. </div>
  45. <div class="bottom">
  46. <div class="bottom_left" v-for="(item, index) in pageData[0].data1" :key="index">
  47. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  48. <img :src="item.imgurl" alt="item.title">
  49. <span class="title2">{{ item.title }}</span>
  50. </NuxtLink>
  51. </div>
  52. </div>
  53. </div>
  54. <div class="context_right">
  55. <ul class="rightContent">
  56. <li class="context1" v-for="(item, index) in pageData[0].data2" :key="index">
  57. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  58. {{ item.title }}
  59. </NuxtLink>
  60. </li>
  61. </ul>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="part1_right" v-if="pageData[1]">
  66. <div class="part1_right_title">
  67. <h2 class="part1_right_title1_active">
  68. <NuxtLink :href="getLinkPath(pageData[1])" v-if="pageData[1]" :title="pageData[1].alias">
  69. {{ pageData[1].alias }}
  70. </NuxtLink>
  71. <em class="active_bg"></em>
  72. </h2>
  73. </div>
  74. <div class="part1_right_content">
  75. <div class="part1_right_top11">
  76. <div class="part1_right_content_top" v-for="(item, index) in pageData[1].data" :key="index">
  77. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  78. <img :src="item.imgurl" alt="item.title">
  79. <span class="content_top_title2">{{ item.title }}</span>
  80. </NuxtLink>
  81. </div>
  82. </div>
  83. <!-- <div class="part1_right_content_top" v-for="(item, index) in pageData[1].data" :key="index">
  84. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  85. <img :src="item.imgurl" alt="item.title">
  86. <span class="content_top_title2">{{ item.title }}</span>
  87. </NuxtLink>
  88. </div> -->
  89. <ul class="part1_right_content_bottom">
  90. <li class="content_bottom_list" v-for="(item, index) in pageData[1].data1" :key="index">
  91. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  92. {{ item.title }}
  93. </NuxtLink>
  94. </li>
  95. </ul>
  96. </div>
  97. </div>
  98. </div>
  99. </div>
  100. <!-- 第二部分 -->
  101. <div class="part2">
  102. <div class="inner">
  103. <div class="part2_left" v-if="pageData[2]">
  104. <div class="part2_title">
  105. <h2 class="nav_part2_left">
  106. <NuxtLink :href="getLinkPath(pageData[2])" v-if="pageData[2]" :title="pageData[2].alias">
  107. {{ pageData[2].alias }}
  108. </NuxtLink>
  109. <em></em>
  110. </h2>
  111. </div>
  112. <div class="part2_content">
  113. <div class="part2_content_left">
  114. <ul class="content_a">
  115. <li class="context111" v-for="(item, index) in pageData[2].data2" :key="index">
  116. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  117. {{ item.title }}
  118. </NuxtLink>
  119. </li>
  120. </ul>
  121. </div>
  122. <div class="part2_content_right">
  123. <div class="right_top" v-for="(item, index) in pageData[2].data" :key="index">
  124. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  125. <img :src="item.imgurl" alt="item.title">
  126. <span class="title11">{{ item.title }}</span>
  127. </NuxtLink>
  128. </div>
  129. <div class="right_bottom">
  130. <div class="bottom_left" v-for="(item, index) in pageData[2].data1" :key="index">
  131. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  132. <img :src="item.imgurl" alt="item.title">
  133. <span class="title22">{{ item.title }}</span>
  134. </NuxtLink>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. </div>
  140. <div class="part2_right" v-if="pageData[3]">
  141. <div class="part2_right_title">
  142. <h2 class="part2_right_title1_active">
  143. <NuxtLink :href="getLinkPath(pageData[3])" v-if="pageData[3]" :title="pageData[3].alias">
  144. {{ pageData[3].alias }}
  145. </NuxtLink>
  146. <em class="active_bg11"></em>
  147. </h2>
  148. </div>
  149. <div class="part2_right_content">
  150. <div class="part2_right_top11">
  151. <div class="part2_right_content_top" v-for="(item, index) in pageData[3].data" :key="index">
  152. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  153. <img :src="item.imgurl" alt="item.title">
  154. <span class="content_top_title22">{{ item.title }}</span>
  155. </NuxtLink>
  156. </div>
  157. </div>
  158. <ul class="part2_right_content_bottom">
  159. <li class="content_bottom_list" v-for="(item, index) in pageData[3].data2" :key="index">
  160. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  161. {{ item.title }}
  162. </NuxtLink>
  163. </li>
  164. </ul>
  165. </div>
  166. </div>
  167. </div>
  168. </div>
  169. <!-- 广告二 -->
  170. <HomeAdvertising :imgurl="adImg2"></HomeAdvertising>
  171. <!-- 第二层 -->
  172. <div class="part3" v-if="pageData[4]">
  173. <div class="inner">
  174. <div class="part3_left">
  175. <div class="part3_left_top" v-if="pageData[4]">
  176. <div class="part3_leftTitle">
  177. <h2 class="part3_left_title">
  178. <NuxtLink :href="getLinkPath(pageData[4])" v-if="pageData[4]"
  179. :title="pageData[4].alias">
  180. {{ pageData[4].alias }}
  181. </NuxtLink>
  182. <em></em>
  183. </h2>
  184. </div>
  185. <div class="part3_left_content" v-if="pageData[4]">
  186. <div class="part3_left_content_top">
  187. <div class="content_top_left">
  188. <div class="part3_photo_text" v-for="(item, index) in pageData[4].data"
  189. :key="index">
  190. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  191. <img :src="item.imgurl" alt="item.title">
  192. <span class="part3_text">{{ item.title }}</span>
  193. </NuxtLink>
  194. <span class="littleTips">精选</span>
  195. </div>
  196. <ul class="part3_content">
  197. <li class="part3_content_list" v-for="(item, index) in pageData[4].data1"
  198. :key="index">
  199. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  200. {{ item.title }}
  201. </NuxtLink>
  202. </li>
  203. </ul>
  204. </div>
  205. <ul class="content_top_right">
  206. <li class="content_right_list" v-for="(item, index) in pageData[4].data1"
  207. :key="index">
  208. <NuxtLink to="#">
  209. <div class="part3_time">
  210. <span class="month">{{ getTime(item.updated_at, 'day', 1) }}</span>
  211. <span class="xiegang">/</span>
  212. <span class="day">{{ getTime(item.updated_at, 'month', 1) }}</span>
  213. </div>
  214. <div class="time_left_content">
  215. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  216. {{ item.title }}
  217. </NuxtLink>
  218. </div>
  219. </NuxtLink>
  220. </li>
  221. </ul>
  222. </div>
  223. </div>
  224. </div>
  225. <div class="part3_left_bottom" v-if="pageData[5] || pageData[6]">
  226. <div class="part3_leftTitle1">
  227. <h2 class="part3_left_title" v-if="pageData[5]" @mouseenter="tabsData = 1"
  228. :class="{ part3_left_title_active: tabsData == 1 }">
  229. <NuxtLink :href="getLinkPath(pageData[5])" @mouseenter="tabsData = 1"
  230. :class="{ active: tabsData == 1 }" :title="pageData[5].alias">
  231. {{ pageData[5].alias }}
  232. </NuxtLink>
  233. <em></em>
  234. </h2>
  235. <h2 class="part3_left_title" v-if="pageData[6]" @mouseenter="tabsData = 2"
  236. :class="{ part3_left_title_active: tabsData == 2 }">
  237. <NuxtLink :href="getLinkPath(pageData[6])" v-if="pageData[6]" @mouseenter="tabsData = 2"
  238. :class="{ active: tabsData == 2 }" :title="pageData[6].alias">
  239. {{ pageData[6].alias }}
  240. </NuxtLink>
  241. <em></em>
  242. </h2>
  243. </div>
  244. <div class="part3_left_content1" v-if="tabsData == 1">
  245. <div class="content_bottom_left">
  246. <div class="content_top" v-for="(item, index) in pageData[5].data" :key="index">
  247. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  248. <img :src="item.imgurl" alt="item.title">
  249. <span class="part3_text">{{ item.title }}</span>
  250. </NuxtLink>
  251. </div>
  252. <div class="content_bottom">
  253. <div class="content_bottom_1" v-for="(item, index) in pageData[5].data1"
  254. :key="index">
  255. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  256. <img :src="item.imgurl" alt="item.title">
  257. <span class="part3_text">{{ item.title }}</span>
  258. </NuxtLink>
  259. </div>
  260. </div>
  261. </div>
  262. <div class="content_bottom_right">
  263. <ul class="bottom_content_1">
  264. <li class="bottom_content_list" v-for="(item, index) in pageData[5].data2"
  265. :key="index">
  266. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  267. {{ item.title }}
  268. </NuxtLink>
  269. </li>
  270. </ul>
  271. </div>
  272. </div>
  273. <div class="part3_left_content1" v-if="tabsData == 2 && pageData[6].alias">
  274. <div class="content_bottom_left">
  275. <div class="content_top" v-for="(item, index) in pageData[6].data" :key="index">
  276. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  277. <img :src="item.imgurl" alt="item.title">
  278. <span class="part3_text">{{ item.title }}</span>
  279. </NuxtLink>
  280. </div>
  281. <div class="content_bottom">
  282. <div class="content_bottom_1" v-for="(item, index) in pageData[6].data1"
  283. :key="index">
  284. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  285. <img :src="item.imgurl" alt="item.title">
  286. <span class="part3_text">{{ item.title }}</span>
  287. </NuxtLink>
  288. </div>
  289. </div>
  290. </div>
  291. <div class="content_bottom_right">
  292. <ul class="bottom_content_1">
  293. <li class="bottom_content_list" v-for="(item, index) in pageData[6].data2"
  294. :key="index">
  295. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  296. {{ item.title }}
  297. </NuxtLink>
  298. </li>
  299. </ul>
  300. </div>
  301. </div>
  302. </div>
  303. </div>
  304. <div class="part3_right" v-if="pageData[7]">
  305. <div class="part3_rightTitle">
  306. <h2 class="part3_right_title">
  307. <NuxtLink :href="getLinkPath(pageData[7])" v-if="pageData[7]" :title="pageData[7].alias">
  308. {{ pageData[7].alias }}
  309. </NuxtLink>
  310. <em></em>
  311. </h2>
  312. <div class="rightMore">
  313. <NuxtLink to="#">更多》</NuxtLink>
  314. </div>
  315. </div>
  316. <ul class="part3_right_content_top" v-if="pageData[7].data1.length > 0">
  317. <li class="part3_right_contentlist_top" v-for="(item, index) in pageData[7].data1" :key="index">
  318. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  319. <span class="numStyle">{{ index + 1 }}</span>
  320. {{ item.title }}
  321. </NuxtLink>
  322. </li>
  323. </ul>
  324. <div class="part3_photo_text_right" v-if="pageData[7].data[0]">
  325. <NuxtLink :href="getLinkPathDetail(pageData[7].data[0])" :title="pageData[7].data[0].title">
  326. <span class="part3_text11">{{ pageData[7].data[0].title }}</span>
  327. <img :src="pageData[7].data[0].imgurl" :alt="pageData[7].data[0].title">
  328. </NuxtLink>
  329. </div>
  330. <ul class="part3_right_content_11" v-if="pageData[7].data2.length > 0">
  331. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data2" :key="index">
  332. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  333. {{ item.title }}
  334. </NuxtLink>
  335. </li>
  336. </ul>
  337. <div class="part3_photo_text_right" v-if="pageData[7].data[1]">
  338. <NuxtLink :href="getLinkPathDetail(pageData[7].data[1])" :title="pageData[7].data[1].title">
  339. <span class="part3_text11">{{ pageData[7].data[1].title }}</span>
  340. <img :src="pageData[7].data[1].imgurl" :alt="pageData[7].data[1].title">
  341. </NuxtLink>
  342. </div>
  343. <ul class="part3_right_content_11" v-if="pageData[7].data3.length > 0">
  344. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data3" :key="index">
  345. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  346. {{ item.title }}
  347. </NuxtLink>
  348. </li>
  349. </ul>
  350. <div class="part3_photo_text_right" v-if="pageData[7].data[2]">
  351. <NuxtLink :href="getLinkPathDetail(pageData[7].data[2])" :title="pageData[7].data[2].title">
  352. <span class="part3_text11">{{ pageData[7].data[2].title }}</span>
  353. <img :src="pageData[7].data[2].imgurl" :alt="pageData[7].data[2].title">
  354. </NuxtLink>
  355. </div>
  356. <ul class="part3_right_content_11">
  357. <li class="part3_right_contentlist_11" v-for="(item, index) in pageData[7].data4" :key="index">
  358. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title">
  359. {{ item.title }}
  360. </NuxtLink>
  361. </li>
  362. </ul>
  363. </div>
  364. </div>
  365. </div>
  366. <!-- 页脚部分 -->
  367. <HomeFoot1></HomeFoot1>
  368. </div>
  369. </template>
  370. <script setup>
  371. //0.加载页面依赖 start ---------------------------------------->
  372. import { ref, onMounted } from 'vue';
  373. //格式化跳转路径 - 标题
  374. //首页分类栏目标题,不需要考虑外链
  375. const getLinkPath = (item) => {
  376. // console.log('item111333',item)
  377. // return `/${item.url}/1.html`;
  378. // return `/newsList/${item.cid}?page=1`;
  379. return `/${item.aLIas_pinyin}/list-1.html`;
  380. }
  381. //首页跳转到详情,这里需要考虑外链
  382. const getLinkPathDetail = (item) => {
  383. // console.log('item111222', item)
  384. if (item.islink == 1) {
  385. return `${item.linkurl}`;
  386. } else {
  387. //return `/${item.aLIas_pinyin}/${item.id}`;
  388. // return `/newsDetail/${item.id}?page=1`
  389. return `/${item.pinyin}/${item.id}.html`;
  390. }
  391. }
  392. //0.加载页面依赖 end ---------------------------------------->
  393. //1.获得路由id start ---------------------------------------->
  394. const route = useRoute();
  395. //获得当前的完整路径
  396. const fullPath = route.path;
  397. //拆分,取出来中间这一段,然后提取数字部分
  398. const segments = fullPath.split('/');
  399. const targetSegment = segments[1];
  400. //let routeId = 11 //排除路径错误可以打开这个
  401. //const numberPart = targetSegment.match(/\d+$/)?.[0];
  402. //let routeId = numberPart;
  403. let routeId;
  404. //通过导航路径反向查询导航id
  405. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  406. method: 'GET',
  407. query: {
  408. 'pinyin': targetSegment,
  409. },
  410. });
  411. if (getRouteId.code == 200) {
  412. routeId = getRouteId.data.category_id
  413. } else {
  414. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  415. console.log("错误位置:通过url路径查询导航池id")
  416. console.log("后端错误反馈:", getRouteId.message)
  417. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  418. }
  419. //1.获得路由id end ---------------------------------------->
  420. //2.页面交互效果 start ---------------------------------------->
  421. //2.1
  422. const title = ref("")
  423. const tabsData = ref(1)
  424. async function getPageDataTitle() {
  425. const mkdata = await requestDataPromise('/web/getOneWebsiteCategory', {
  426. method: 'GET',
  427. query: {
  428. 'catid': routeId,
  429. },
  430. });
  431. if (mkdata.code == 200) {
  432. title.value = mkdata.data.alias;
  433. } else {
  434. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  435. console.log("错误位置:获取二级标题")
  436. console.log("后端错误反馈:", mkdata.message)
  437. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  438. }
  439. }
  440. getPageDataTitle();
  441. //2.1 新闻图片切换
  442. const hoverStatus = ref(0)
  443. const qhPic = function (num) {
  444. console.log(num)
  445. hoverStatus.value = num;
  446. }
  447. //2.2 选项卡切换
  448. let showTabs = ref(1)
  449. let qhtabs = function (number) {
  450. console.log(number)
  451. showTabs.value = number
  452. }
  453. //2.3 展示广告
  454. let adImg1 = ref({})
  455. let adImg2 = ref({})
  456. let adImg3 = ref({})
  457. let adImg4 = ref({})
  458. onMounted(async () => {
  459. //从客户端获取行政职能部门 加快打开速度
  460. const { $webUrl, $CwebUrl } = useNuxtApp();
  461. //广告1
  462. let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0001`
  463. const responseAd1 = await fetch(url, {
  464. headers: {
  465. 'Content-Type': 'application/json',
  466. 'Userurl': $CwebUrl,
  467. 'Origin': $CwebUrl
  468. }
  469. });
  470. const resultAd1 = await responseAd1.json();
  471. adImg1.value = resultAd1.data[0];
  472. //广告2
  473. let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0002`
  474. const responseAd2 = await fetch(url2, {
  475. headers: {
  476. 'Content-Type': 'application/json',
  477. 'Userurl': $CwebUrl,
  478. 'Origin': $CwebUrl
  479. }
  480. });
  481. const resultAd2 = await responseAd2.json();
  482. adImg2.value = resultAd2.data[0];
  483. //广告3
  484. let url3 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0003`
  485. const responseAd3 = await fetch(url3, {
  486. headers: {
  487. 'Content-Type': 'application/json',
  488. 'Userurl': $CwebUrl,
  489. 'Origin': $CwebUrl
  490. }
  491. });
  492. const resultAd3 = await responseAd3.json();
  493. adImg3.value = resultAd3.data[0];
  494. //广告4
  495. let url4 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=xcw_category_0004`
  496. const responseAd4 = await fetch(url4, {
  497. headers: {
  498. 'Content-Type': 'application/json',
  499. 'Userurl': $CwebUrl,
  500. 'Origin': $CwebUrl
  501. }
  502. });
  503. const resultAd4 = await responseAd4.json();
  504. adImg4.value = resultAd4.data[0];
  505. })
  506. //2.页面交互效果 end ---------------------------------------->
  507. //3.渲染页面数据 start ---------------------------------------->
  508. //3.1 该页面上所有的导航池 转为动态数据
  509. const pageCategory = ref([]);
  510. //3.2 该页面上需要渲染的所有数据
  511. const pageData = ref([
  512. // { id: 0, data: [], data2: [], title: "", cid: "" },
  513. // { id: 1, data: [], title: "", cid: "" },
  514. // { id: 2, data: [], title: "", cid: "" },
  515. // { id: 3, data: [], title: "", cid: "" },
  516. // { id: 4, data: [], title: "", cid: "" },
  517. // { id: 5, data: [], title: "", cid: "" },
  518. // { id: 6, data: [], title: "", cid: "" },
  519. // { id: 7, data: [], title: "", cid: "" },
  520. // { id: 8, data: [], title: "", cid: "" },
  521. ])
  522. const navSize = ref("");
  523. //3.3 获取所有导航
  524. try {
  525. const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
  526. method: 'GET',
  527. query: {
  528. 'placeid': 1,
  529. 'pid': routeId,
  530. 'num': 8
  531. },
  532. });
  533. if (navigateData.code == 200) {
  534. // 遍历可用的导航池放到页面中
  535. for (let index in navigateData.data) {
  536. let data = {
  537. title: navigateData.data[index].name,
  538. cid: navigateData.data[index].category_id,
  539. children_count: navigateData.data[index].children_count,
  540. alias: navigateData.data[index].alias,
  541. aLIas_pinyin: targetSegment + "/" + navigateData.data[index].aLIas_pinyin,
  542. data: [],
  543. data1: [],
  544. data2: [],
  545. data3: [],
  546. data4: [],
  547. category_id1: "",
  548. category_id2: "",
  549. category_id3: "",
  550. category_id4: "",
  551. title1: "",
  552. title2: "",
  553. title3: "",
  554. title4: ""
  555. };
  556. if (navigateData.data[index].is_url == 1) {
  557. // 处理 URL 的逻辑
  558. } else {
  559. //每个页面最多8个模块
  560. pageData.value.push(data);
  561. }
  562. }
  563. //导航池加载完毕,开始申请模块数据
  564. // await getPageData1();
  565. // await getPageData2();
  566. // await getPageData3();
  567. // await getPageData4();
  568. // await getPageData5();
  569. // await getPageData6();
  570. // await getPageData7();
  571. // await getPageData8();
  572. let getJson = [
  573. // { "parent": routeId + ",0,0", "child": pageData.value[0].cid + ",3,10" },//模块1理论前沿
  574. // { "parent": routeId + ",0,0", "child": pageData.value[1].cid + ",2,6" },//模块2典型经验
  575. // { "parent": routeId + ",0,0", "child": pageData.value[2].cid + ",3,10" },//模块3农业天地
  576. // { "parent": routeId + ",0,0", "child": pageData.value[3].cid + ",2,6" },//模块4美丽乡村
  577. // { "parent": routeId + ",0,0", "child": pageData.value[4].cid + ",1,10" },//模块5农民之家
  578. // { "parent": routeId + ",0,0", "child": pageData.value[5].cid + ",3,10" },//模块6农业天地
  579. // { "parent": routeId + ",0,0", "child": pageData.value[6].cid + ",3,10" },//模块7农村建设
  580. // { "parent": routeId + ",0,0", "child": pageData.value[7].cid + ",3,13" },//模块8高端资讯
  581. ]
  582. for (let i = 0; i < pageData.value.length; i++) {
  583. if (i == 0) {
  584. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
  585. } else if (i == 1) {
  586. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",2,6" });
  587. } else if (i == 2) {
  588. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
  589. } else if (i == 3) {
  590. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",2,6" });
  591. } else if (i == 4) {
  592. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",1,10" });
  593. } else if (i == 5) {
  594. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
  595. } else if (i == 6) {
  596. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,10" });
  597. } else if (i == 7) {
  598. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,13" });
  599. }
  600. }
  601. let jsonString = JSON.stringify(getJson);
  602. // console.log("jsonString", getJson);
  603. getPageAllData(jsonString);
  604. } else {
  605. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  606. console.log("错误位置:分类页导航池")
  607. console.log("后端错误反馈:", navigateData.message)
  608. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  609. }
  610. } catch (error) {
  611. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  612. console.log("错误位置:分类页导航渲染阶段")
  613. console.log("错误:导航池渲染执行接口出错!请检查首页的14的模块的具体执行方法!")
  614. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  615. }
  616. async function getPageAllData(jsonString) {
  617. const mkdata = await requestDataPromise('/web/getWebsiteAllArticle', {
  618. method: 'GET',
  619. query: {
  620. 'id': jsonString
  621. },
  622. });
  623. if (mkdata.code == 200) {
  624. console.log(778899)
  625. console.log(mkdata.data)
  626. //模块1理论前沿
  627. if (mkdata.data[0].child.imgnum.length > 0) {
  628. pageData.value[0].data.push(mkdata.data[0].child.imgnum[0]);
  629. }
  630. if (mkdata.data[0].child.imgnum.length > 1) {
  631. pageData.value[0].data1.push(mkdata.data[0].child.imgnum[1]);
  632. }
  633. if (mkdata.data[0].child.imgnum.length > 2) {
  634. pageData.value[0].data1.push(mkdata.data[0].child.imgnum[2]);
  635. }
  636. if (mkdata.data[0].child.textnum) {
  637. pageData.value[0].data2 = mkdata.data[0].child.textnum;
  638. }
  639. //模块2典型经验
  640. if (mkdata.data[1].child.imgnum) {
  641. pageData.value[1].data = mkdata.data[1].child.imgnum;
  642. }
  643. if (mkdata.data[1].child.textnum) {
  644. pageData.value[1].data1 = mkdata.data[1].child.textnum;
  645. }
  646. //模块3农业天地
  647. if (mkdata.data[2].child.imgnum.length > 0) {
  648. pageData.value[2].data.push(mkdata.data[2].child.imgnum[0]);
  649. }
  650. if (mkdata.data[2].child.imgnum.length > 1) {
  651. pageData.value[2].data1.push(mkdata.data[2].child.imgnum[1]);
  652. }
  653. if (mkdata.data[2].child.imgnum.length > 2) {
  654. pageData.value[2].data1.push(mkdata.data[2].child.imgnum[2]);
  655. }
  656. pageData.value[2].data2 = mkdata.data[2].child.textnum;
  657. //模块4美丽乡村
  658. pageData.value[3].data = mkdata.data[3].child.imgnum;
  659. pageData.value[3].data2 = mkdata.data[3].child.textnum;
  660. //模块5农民之家
  661. pageData.value[4].data = mkdata.data[4].child.imgnum;
  662. for (let i in mkdata.data[4].child.textnum) {
  663. if (i < 5) {
  664. pageData.value[4].data1.push(mkdata.data[4].child.textnum[i]);
  665. } else {
  666. pageData.value[4].data2.push(mkdata.data[4].child.textnum[i]);
  667. }
  668. }
  669. //模块6农业天地
  670. if (mkdata.data[5].child.imgnum.length > 0) {
  671. pageData.value[5].data.push(mkdata.data[5].child.imgnum[0]);
  672. }
  673. if (mkdata.data[5].child.imgnum.length > 1) {
  674. pageData.value[5].data1.push(mkdata.data[5].child.imgnum[1]);
  675. }
  676. if (mkdata.data[5].child.imgnum.length > 2) {
  677. pageData.value[5].data1.push(mkdata.data[5].child.imgnum[2]);
  678. }
  679. pageData.value[5].data2 = mkdata.data[5].child.textnum;
  680. //模块7农村建设
  681. if (mkdata.data[6].child.imgnum.length > 0) {
  682. pageData.value[6].data.push(mkdata.data[6].child.imgnum[0]);
  683. }
  684. if (mkdata.data[6].child.imgnum.length > 1) {
  685. pageData.value[6].data1.push(mkdata.data[6].child.imgnum[1]);
  686. }
  687. if (mkdata.data[6].child.imgnum.length > 2) {
  688. pageData.value[6].data1.push(mkdata.data[6].child.imgnum[2]);
  689. }
  690. pageData.value[6].data2 = mkdata.data[6].child.textnum;
  691. //模块8高端资讯
  692. pageData.value[7].data2 = mkdata.data[7].child.imgnum;
  693. console.log('1111111',mkdata.data[4].child.textnum);
  694. for (let i in mkdata.data[4].child.textnum) {
  695. if (i < 7) {
  696. pageData.value[7].data1.push(mkdata.data[4].child.textnum[i]);
  697. } else if (i < 9) {
  698. pageData.value[7].data2.push(mkdata.data[4].child.textnum[i]);
  699. } else if (i < 11) {
  700. pageData.value[7].data3.push(mkdata.data[4].child.textnum[i]);
  701. } else {
  702. pageData.value[7].data4.push(mkdata.data[4].child.textnum[i]);
  703. }
  704. }
  705. } else {
  706. ElMessage.error(mkdata.message)
  707. }
  708. }
  709. //获得模块数据
  710. // async function getPageData(catid, img_num, text_num, modulesNum, childNavNum, childImgNum, childTextNum) {
  711. // const mkdata = await requestDataPromise('/web/getWebsiteCatidArticle', {
  712. // method: 'GET',
  713. // query: {
  714. // 'catid': catid, //catid
  715. // 'img_num': img_num, //图片数量
  716. // 'text_num': text_num, //文字数量
  717. // 'child_catnum': childNavNum,//子级栏目菜单数量
  718. // 'child_imgnum': childImgNum,//子栏目展示图片新闻数量
  719. // 'child_textnum': childTextNum//子栏目展示文字新闻数量
  720. // },
  721. // });
  722. // if (modulesNum == 1) {
  723. // for (let i in mkdata.data.img) {
  724. // if (i < 1) {
  725. // pageData.value[0].data.push(mkdata.data.img[i]);
  726. // } else {
  727. // pageData.value[0].data1.push(mkdata.data.img[i]);
  728. // }
  729. // }
  730. // pageData.value[0].data2 = mkdata.data.text;
  731. // }
  732. // if (modulesNum == 2) {
  733. // pageData.value[1].data = mkdata.data.img;
  734. // pageData.value[1].data1 = mkdata.data.text;
  735. // }
  736. // if (modulesNum == 3) {
  737. // for (let i in mkdata.data.img) {
  738. // if (i < 1) {
  739. // pageData.value[2].data.push(mkdata.data.img[i]);
  740. // } else {
  741. // pageData.value[2].data1.push(mkdata.data.img[i]);
  742. // }
  743. // }
  744. // pageData.value[2].data2 = mkdata.data.text;
  745. // }
  746. // if (modulesNum == 4) {
  747. // pageData.value[3].data = mkdata.data.img;
  748. // pageData.value[3].data2 = mkdata.data.text;
  749. // }
  750. // //模块5
  751. // if (modulesNum == 5) {
  752. // pageData.value[4].data = mkdata.data.img;
  753. // for (let i in mkdata.data.text) {
  754. // if (i < 5) {
  755. // pageData.value[4].data1.push(mkdata.data.text[i]);
  756. // } else {
  757. // pageData.value[4].data2.push(mkdata.data.text[i]);
  758. // }
  759. // }
  760. // }
  761. // if (modulesNum == 6) {
  762. // for (let i in mkdata.data.img) {
  763. // if (i < 1) {
  764. // pageData.value[5].data.push(mkdata.data.img[i]);
  765. // } else {
  766. // pageData.value[5].data1.push(mkdata.data.img[i]);
  767. // }
  768. // }
  769. // pageData.value[5].data2 = mkdata.data.text;
  770. // }
  771. // if (modulesNum == 7) {
  772. // for (let i in mkdata.data.img) {
  773. // if (i < 1) {
  774. // pageData.value[6].data.push(mkdata.data.img[i]);
  775. // } else {
  776. // pageData.value[6].data1.push(mkdata.data.img[i]);
  777. // }
  778. // }
  779. // pageData.value[6].data2 = mkdata.data.text;
  780. // }
  781. // //模块8
  782. // if (modulesNum == 8) {
  783. // pageData.value[7].data = mkdata.data.img;
  784. // for (let i in mkdata.data.text) {
  785. // if (i < 7) {
  786. // pageData.value[7].data1.push(mkdata.data.text[i]);
  787. // } else if (i < 9) {
  788. // pageData.value[7].data2.push(mkdata.data.text[i]);
  789. // } else if (i < 11) {
  790. // pageData.value[7].data3.push(mkdata.data.text[i]);
  791. // } else {
  792. // pageData.value[7].data4.push(mkdata.data.text[i]);
  793. // }
  794. // }
  795. // }
  796. // }
  797. //新农村
  798. //模块1 理论前沿
  799. // async function getPageData1() {
  800. // await getPageData(pageData.value[0].cid, 3, 10, 1, 0, 0, 0);
  801. // }
  802. // //模块2 典型经验
  803. // async function getPageData2() {
  804. // await getPageData(pageData.value[1].cid, 2, 6, 2, 0, 0, 0);
  805. // }
  806. // //模块3 农业天地
  807. // async function getPageData3() {
  808. // await getPageData(pageData.value[2].cid, 3, 10, 3, 0, 0, 0);
  809. // }
  810. // //模块4 美丽乡村
  811. // async function getPageData4() {
  812. // await getPageData(pageData.value[3].cid, 2, 6, 4, 0, 0, 0);
  813. // }
  814. // //模块5 农民之家
  815. // async function getPageData5() {
  816. // await getPageData(pageData.value[4].cid, 1, 10, 5, 0, 0, 0);
  817. // }
  818. // //模块6 农业天地
  819. // async function getPageData6() {
  820. // await getPageData(pageData.value[5].cid, 3, 10, 6, 0, 0, 0);
  821. // }
  822. // //模块7 农村建设
  823. // async function getPageData7() {
  824. // await getPageData(pageData.value[6].cid, 3, 10, 7, 0, 0, 0);
  825. // }
  826. // //模块8 高端资讯
  827. // async function getPageData8() {
  828. // await getPageData(pageData.value[7].cid, 3, 13, 8, 0, 0, 0);
  829. // }
  830. // 注意,为了保持模块的数量,当前固定为8个
  831. // 所以这里的农业天地,合并了原来是下面的7号模块
  832. // 而原本是7号模块的地方现在变成了8号模块
  833. //3.渲染页面数据 end ---------------------------------------->
  834. //4.设置seo信息 start---------------------------------------->
  835. //4.1 设置seo信息
  836. const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
  837. method: 'GET',
  838. query: {
  839. 'catid': routeId
  840. },
  841. });
  842. if (setData.code == 200) {
  843. let seoTitle = setData.data.seo_title;
  844. let seoDescription = setData.data.seo_description;
  845. let seoKeywords = setData.data.seo_keywords;
  846. let seoSuffix = setData.data.suffix;
  847. let seoName = setData.data.website_name;
  848. useSeoMeta({
  849. title: seoTitle + "_" + seoSuffix,
  850. meta: [
  851. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  852. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 }
  853. ]
  854. });
  855. } else {
  856. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  857. console.log("错误位置:设置分类页面SEO数据")
  858. console.log("后端错误反馈:", setData.message)
  859. console.log("SSR waring ---------- SSR waring ---------- SSR waring ---------->")
  860. }
  861. //4.设置seo信息 end---------------------------------------->
  862. //5. 获取日期中单独的年 月 日 start--------------------------->
  863. function getTime(date, part, digits) {
  864. const d = new Date(date);
  865. if (part === 'year') {
  866. let year = d.getFullYear();
  867. if (digits === 2) {
  868. return String(year).slice(-2);
  869. }
  870. return year;
  871. } else if (part === 'month') {
  872. let month = d.getMonth() + 1;
  873. if (digits === 2) {
  874. return String(month).padStart(2, '0');
  875. }
  876. if (month < 10) {
  877. month = '0' + month;
  878. } else {
  879. month = month;
  880. }
  881. return month;
  882. } else if (part === 'day') {
  883. let day = d.getDate();
  884. if (digits === 2) {
  885. return String(day).padStart(2, '0');
  886. }
  887. return day;
  888. }
  889. return null;
  890. }
  891. //5. 获取日期中单独的年 月 日 end------------------------------>
  892. </script>
  893. <style lang="less" scoped>
  894. // 一级标题
  895. .nav1 {
  896. width: 100%;
  897. height: 214px;
  898. background: #fff;
  899. .inner {
  900. width: 1200px;
  901. height: 214px;
  902. margin: 0 auto;
  903. .nav1_title {
  904. width: 1120px;
  905. height: 214px;
  906. margin-left: 40px;
  907. line-height: 217px;
  908. text-align: center;
  909. font-family: DingTalk JinBuTi, DingTalk JinBuTi;
  910. font-weight: 400;
  911. font-size: 50px;
  912. color: #6D2512;
  913. background: url(/_nuxt/public/index/title_bg.png) no-repeat 0;
  914. }
  915. }
  916. }
  917. .nav2top {
  918. width: 1250px;
  919. height: 3px;
  920. margin: 0 auto;
  921. background-color: #a01c0e;
  922. }
  923. .nav2btm {
  924. width: 1200px;
  925. height: 3px;
  926. margin: 0 auto;
  927. background-color: #a01c0e;
  928. }
  929. .nav2 {
  930. width: 100%;
  931. height: 48px;
  932. background-color: #a01c0e;
  933. .inner {
  934. width: 1250px;
  935. height: 48px;
  936. line-height: 48px;
  937. padding: 0 45px;
  938. margin: 0 auto;
  939. box-sizing: border-box;
  940. display: flex;
  941. // justify-content: space-between;
  942. .titleList {
  943. font-family: Microsoft YaHei, Microsoft YaHei;
  944. font-weight: bold;
  945. font-size: 14px;
  946. color: #FFFFFF;
  947. .nav2_title {
  948. display: inline-block;
  949. font-family: Microsoft YaHei, Microsoft YaHei;
  950. font-weight: bold;
  951. font-size: 14px;
  952. color: #FFFFFF;
  953. }
  954. a {
  955. padding: 0 38px;
  956. color: #FFFFFF;
  957. border-left: 1px solid #7E1C11;
  958. }
  959. //鼠标点击后的样式
  960. .nav2_title_active {
  961. display: inline-block;
  962. font-family: Microsoft YaHei, Microsoft YaHei;
  963. font-weight: bold;
  964. font-size: 14px;
  965. color: #FFFFFF;
  966. border-bottom: 1px solid #FFFFFF;
  967. }
  968. }
  969. .titleList:hover {
  970. a {
  971. color: #a01c0e;
  972. .nav2_title {
  973. border-bottom: 1px solid #FFFFFF;
  974. }
  975. }
  976. }
  977. .home {
  978. width: 100px;
  979. font-family: Microsoft YaHei, Microsoft YaHei;
  980. font-weight: bold;
  981. font-size: 14px;
  982. color: #F8ECD2;
  983. }
  984. }
  985. }
  986. //第一部分
  987. .part1 {
  988. width: 100%;
  989. height: 585px;
  990. margin-top: 35px;
  991. .inner {
  992. width: 1200px;
  993. margin: 0 auto;
  994. .part1_left {
  995. float: left;
  996. width: 720px;
  997. .part1_title {
  998. width: 720px;
  999. height: 50px;
  1000. line-height: 50px;
  1001. .nav_part1_left {
  1002. float: left;
  1003. font-family: Microsoft YaHei, Microsoft YaHei;
  1004. font-weight: 400;
  1005. font-size: 20px;
  1006. color: #333333;
  1007. position: relative;
  1008. a {
  1009. color: #333333;
  1010. }
  1011. em {
  1012. display: inline-block;
  1013. width: 8px;
  1014. height: 8px;
  1015. background-color: #a01c0e;
  1016. border-radius: 4px;
  1017. position: absolute;
  1018. top: 5px;
  1019. }
  1020. }
  1021. }
  1022. .part1_content {
  1023. width: 720px;
  1024. margin-top: 20px;
  1025. .context_left {
  1026. float: left;
  1027. width: 350px;
  1028. .top {
  1029. width: 350px;
  1030. img {
  1031. width: 350px;
  1032. height: 230px;
  1033. }
  1034. a .title1 {
  1035. margin-top: 15px;
  1036. width: 350px;
  1037. height: 48px;
  1038. display: -webkit-box;
  1039. -webkit-box-orient: vertical;
  1040. -webkit-line-clamp: 2;
  1041. overflow: hidden;
  1042. text-overflow: ellipsis;
  1043. word-break: break-all;
  1044. font-family: Microsoft YaHei, Microsoft YaHei;
  1045. font-weight: bold;
  1046. font-size: 18px;
  1047. color: #333333;
  1048. }
  1049. }
  1050. .top:hover {
  1051. a .title1 {
  1052. color: #a01c0e;
  1053. }
  1054. }
  1055. .bottom {
  1056. width: 350px;
  1057. margin-top: 25px;
  1058. .bottom_left {
  1059. float: left;
  1060. width: 165px;
  1061. img {
  1062. width: 165px;
  1063. height: 96px;
  1064. }
  1065. a .title2 {
  1066. margin-top: 10px;
  1067. width: 165px;
  1068. height: 48px;
  1069. display: -webkit-box;
  1070. -webkit-box-orient: vertical;
  1071. -webkit-line-clamp: 2;
  1072. overflow: hidden;
  1073. text-overflow: ellipsis;
  1074. word-break: break-all;
  1075. font-family: Microsoft YaHei, Microsoft YaHei;
  1076. font-weight: 400;
  1077. font-size: 18px;
  1078. color: #333333;
  1079. }
  1080. }
  1081. .bottom_left:first-child {
  1082. margin-right: 20px;
  1083. }
  1084. }
  1085. .bottom_left:hover {
  1086. a .title2 {
  1087. color: #a01c0e;
  1088. }
  1089. }
  1090. }
  1091. .context_right {
  1092. float: right;
  1093. width: 350px;
  1094. .rightContent {
  1095. width: 350px;
  1096. height: 230px;
  1097. .context1:nth-child(5n+1) {
  1098. width: 345px;
  1099. white-space: nowrap;
  1100. overflow: hidden;
  1101. text-overflow: ellipsis;
  1102. font-family: Microsoft YaHei, Microsoft YaHei;
  1103. font-weight: bold;
  1104. font-size: 18px;
  1105. color: #333333;
  1106. a {
  1107. color: #333333;
  1108. }
  1109. }
  1110. .context1:nth-child(5n+1):hover a {
  1111. color: #a01c0e;
  1112. }
  1113. .context1 {
  1114. margin-bottom: 27px;
  1115. width: 345px;
  1116. white-space: nowrap;
  1117. overflow: hidden;
  1118. text-overflow: ellipsis;
  1119. font-family: Microsoft YaHei, Microsoft YaHei;
  1120. font-weight: 400;
  1121. font-size: 18px;
  1122. color: #333333;
  1123. a {
  1124. color: #333333;
  1125. }
  1126. }
  1127. .context1:hover a {
  1128. color: #a01c0e;
  1129. }
  1130. }
  1131. }
  1132. }
  1133. }
  1134. .part1_right {
  1135. float: right;
  1136. width: 450px;
  1137. // height: 1000px;
  1138. .part1_right_title {
  1139. width: 450px;
  1140. height: 50px;
  1141. line-height: 50px;
  1142. .part1_right_title1_active {
  1143. float: left;
  1144. margin-right: 40px;
  1145. font-family: Microsoft YaHei, Microsoft YaHei;
  1146. font-weight: 400;
  1147. font-size: 20px;
  1148. color: #333333;
  1149. position: relative;
  1150. a {
  1151. color: #333333;
  1152. }
  1153. .active_bg {
  1154. display: inline-block;
  1155. width: 8px;
  1156. height: 8px;
  1157. background-color: #a01c0e;
  1158. border-radius: 4px;
  1159. position: absolute;
  1160. top: 7px;
  1161. right: -5px;
  1162. }
  1163. }
  1164. .part1_right_title1 {
  1165. float: left;
  1166. margin-right: 40px;
  1167. font-family: Microsoft YaHei, Microsoft YaHei;
  1168. font-weight: 400;
  1169. font-size: 20px;
  1170. color: #999999;
  1171. position: relative;
  1172. a {
  1173. color: #999999;
  1174. }
  1175. }
  1176. }
  1177. .part1_right_content {
  1178. width: 450px;
  1179. // height: 940px;
  1180. margin-top: 20px;
  1181. .part1_right_top11 {
  1182. width: 450px;
  1183. height: 180px;
  1184. position: relative;
  1185. .part1_right_content_top {
  1186. float: left;
  1187. width: 220px;
  1188. height: 180px;
  1189. a img {
  1190. width: 220px;
  1191. height: 130px;
  1192. }
  1193. a .content_top_title2 {
  1194. display: inline-block;
  1195. width: 220px;
  1196. padding: 0 10px;
  1197. box-sizing: border-box;
  1198. white-space: nowrap;
  1199. overflow: hidden;
  1200. text-overflow: ellipsis;
  1201. font-family: Microsoft YaHei, Microsoft YaHei;
  1202. font-weight: 400;
  1203. font-size: 18px;
  1204. color: #333333;
  1205. margin-top: 10px;
  1206. }
  1207. }
  1208. .part1_right_content_top:hover {
  1209. a .content_top_title2 {
  1210. color: #a01c0e;
  1211. }
  1212. }
  1213. .part1_right_content_top:nth-child(2) {
  1214. margin-left: 10px;
  1215. }
  1216. }
  1217. .part1_right_content_bottom {
  1218. width: 450px;
  1219. height: 300px;
  1220. margin-top: 15px;
  1221. overflow: hidden;
  1222. .content_bottom_list {
  1223. width: 450px;
  1224. height: 22px;
  1225. line-height: 21px;
  1226. white-space: nowrap;
  1227. overflow: hidden;
  1228. text-overflow: ellipsis;
  1229. margin-bottom: 28px;
  1230. font-family: Microsoft YaHei, Microsoft YaHei;
  1231. font-weight: 400;
  1232. font-size: 18px;
  1233. color: #333333;
  1234. a {
  1235. color: #333333;
  1236. }
  1237. }
  1238. .content_bottom_list:hover {
  1239. a {
  1240. color: #a01c0e;
  1241. }
  1242. }
  1243. }
  1244. }
  1245. }
  1246. }
  1247. }
  1248. //第二部分
  1249. .part2 {
  1250. width: 100%;
  1251. overflow: hidden;
  1252. // margin-bottom: 40px;
  1253. .inner {
  1254. width: 1200px;
  1255. margin: 0 auto;
  1256. .part2_left {
  1257. float: left;
  1258. width: 720px;
  1259. .part2_title {
  1260. width: 720px;
  1261. height: 50px;
  1262. line-height: 50px;
  1263. .nav_part2_left {
  1264. float: left;
  1265. width: 100px;
  1266. font-family: Microsoft YaHei, Microsoft YaHei;
  1267. font-weight: 400;
  1268. font-size: 20px;
  1269. color: #333333;
  1270. position: relative;
  1271. a {
  1272. color: #333333;
  1273. }
  1274. em {
  1275. display: inline-block;
  1276. width: 8px;
  1277. height: 8px;
  1278. background-color: #a01c0e;
  1279. border-radius: 4px;
  1280. position: absolute;
  1281. top: 9px;
  1282. right: 6px;
  1283. }
  1284. }
  1285. }
  1286. .part2_content {
  1287. width: 720px;
  1288. margin-top: 20px;
  1289. .part2_content_left {
  1290. float: left;
  1291. width: 350px;
  1292. .content_a {
  1293. width: 350px;
  1294. height: 230px;
  1295. // margin-bottom: 25px;
  1296. .context111:nth-child(5n+1) {
  1297. width: 345px;
  1298. white-space: nowrap;
  1299. overflow: hidden;
  1300. text-overflow: ellipsis;
  1301. font-family: Microsoft YaHei, Microsoft YaHei;
  1302. font-weight: bold;
  1303. font-size: 18px;
  1304. color: #333333;
  1305. a {
  1306. color: #333333;
  1307. }
  1308. }
  1309. .context111 {
  1310. margin-bottom: 27px;
  1311. width: 345px;
  1312. white-space: nowrap;
  1313. overflow: hidden;
  1314. text-overflow: ellipsis;
  1315. font-family: Microsoft YaHei, Microsoft YaHei;
  1316. font-weight: 400;
  1317. font-size: 18px;
  1318. color: #333333;
  1319. a {
  1320. color: #333333;
  1321. }
  1322. }
  1323. .context111:hover a {
  1324. color: #a01c0e;
  1325. }
  1326. }
  1327. }
  1328. .part2_content_right {
  1329. float: right;
  1330. width: 350px;
  1331. height: 480px;
  1332. .right_top {
  1333. width: 350px;
  1334. height: 300px;
  1335. a img {
  1336. width: 350px;
  1337. height: 230px;
  1338. }
  1339. a .title11 {
  1340. margin-top: 15px;
  1341. width: 350px;
  1342. height: 48px;
  1343. display: -webkit-box;
  1344. -webkit-box-orient: vertical;
  1345. -webkit-line-clamp: 2;
  1346. overflow: hidden;
  1347. text-overflow: ellipsis;
  1348. word-break: break-all;
  1349. font-family: Microsoft YaHei, Microsoft YaHei;
  1350. font-weight: bold;
  1351. font-size: 18px;
  1352. color: #333333;
  1353. }
  1354. }
  1355. .right_top:hover {
  1356. color: #a01c0e;
  1357. a .title11 {
  1358. color: #a01c0e;
  1359. }
  1360. }
  1361. .right_bottom {
  1362. width: 350px;
  1363. height: 165px;
  1364. margin-top: 20px;
  1365. .bottom_left {
  1366. float: left;
  1367. width: 165px;
  1368. height: 130px;
  1369. a img {
  1370. width: 165px;
  1371. height: 96px;
  1372. }
  1373. a .title22 {
  1374. margin-top: 10px;
  1375. width: 165px;
  1376. height: 48px;
  1377. display: -webkit-box;
  1378. -webkit-box-orient: vertical;
  1379. -webkit-line-clamp: 2;
  1380. overflow: hidden;
  1381. text-overflow: ellipsis;
  1382. word-break: break-all;
  1383. font-family: Microsoft YaHei, Microsoft YaHei;
  1384. font-weight: 400;
  1385. font-size: 18px;
  1386. color: #333333;
  1387. }
  1388. }
  1389. .bottom_left:hover {
  1390. color: #a01c0e;
  1391. a .title22 {
  1392. color: #a01c0e;
  1393. }
  1394. }
  1395. .bottom_left:first-child {
  1396. margin-right: 20px;
  1397. }
  1398. }
  1399. }
  1400. }
  1401. }
  1402. .part2_right {
  1403. float: right;
  1404. width: 450px;
  1405. // height: 1000px;
  1406. .part2_right_title {
  1407. width: 450px;
  1408. height: 50px;
  1409. line-height: 50px;
  1410. .part2_right_title1_active {
  1411. float: left;
  1412. margin-right: 40px;
  1413. font-family: Microsoft YaHei, Microsoft YaHei;
  1414. font-weight: 400;
  1415. font-size: 20px;
  1416. color: #333333;
  1417. position: relative;
  1418. a {
  1419. color: #333333;
  1420. }
  1421. .active_bg11 {
  1422. display: inline-block;
  1423. width: 8px;
  1424. height: 8px;
  1425. background-color: #a01c0e;
  1426. border-radius: 4px;
  1427. position: absolute;
  1428. top: 7px;
  1429. right: -5px;
  1430. }
  1431. }
  1432. .part2_right_title1 {
  1433. float: left;
  1434. margin-right: 40px;
  1435. font-family: Microsoft YaHei, Microsoft YaHei;
  1436. font-weight: 400;
  1437. font-size: 20px;
  1438. color: #999999;
  1439. position: relative;
  1440. a {
  1441. color: #999999;
  1442. }
  1443. }
  1444. }
  1445. .part2_right_content {
  1446. width: 450px;
  1447. margin-top: 20px;
  1448. .part2_right_top11 {
  1449. width: 450px;
  1450. height: 170px;
  1451. position: relative;
  1452. .part2_right_content_top {
  1453. float: left;
  1454. width: 220px;
  1455. height: 180px;
  1456. a img {
  1457. width: 220px;
  1458. height: 130px;
  1459. }
  1460. a .content_top_title22 {
  1461. display: inline-block;
  1462. width: 220px;
  1463. padding: 0 10px;
  1464. box-sizing: border-box;
  1465. white-space: nowrap;
  1466. overflow: hidden;
  1467. text-overflow: ellipsis;
  1468. font-family: Microsoft YaHei, Microsoft YaHei;
  1469. font-weight: 400;
  1470. font-size: 18px;
  1471. color: #333333;
  1472. margin-top: 10px;
  1473. }
  1474. }
  1475. .part2_right_content_top:hover {
  1476. a .content_top_title22 {
  1477. color: #a01c0e;
  1478. }
  1479. }
  1480. .part2_right_content_top:nth-child(2) {
  1481. margin-left: 10px;
  1482. }
  1483. }
  1484. .part2_right_content_bottom {
  1485. width: 450px;
  1486. height: 300px;
  1487. margin-top: 20px;
  1488. overflow: hidden;
  1489. .content_bottom_list {
  1490. width: 450px;
  1491. height: 22px;
  1492. line-height: 21px;
  1493. white-space: nowrap;
  1494. overflow: hidden;
  1495. text-overflow: ellipsis;
  1496. margin-bottom: 28px;
  1497. font-family: Microsoft YaHei, Microsoft YaHei;
  1498. font-weight: 400;
  1499. font-size: 18px;
  1500. color: #333333;
  1501. a {
  1502. color: #333333;
  1503. }
  1504. }
  1505. .content_bottom_list:hover {
  1506. a {
  1507. color: #a01c0e;
  1508. }
  1509. }
  1510. }
  1511. }
  1512. }
  1513. }
  1514. }
  1515. //第三部分
  1516. .part3 {
  1517. width: 100%;
  1518. overflow: hidden;
  1519. // height: 1200px;
  1520. margin-top: 35px;
  1521. margin-bottom: 40px;
  1522. .inner {
  1523. width: 1200px;
  1524. height: 1200px;
  1525. background-color: #fff;
  1526. .part3_left {
  1527. float: left;
  1528. .part3_left_top {
  1529. width: 720px;
  1530. overflow: hidden;
  1531. .part3_leftTitle {
  1532. width: 720px;
  1533. height: 50px;
  1534. line-height: 50px;
  1535. .part3_left_title:first-child {
  1536. float: left;
  1537. margin-right: 20px;
  1538. width: 100px;
  1539. height: 50px;
  1540. line-height: 50px;
  1541. position: relative;
  1542. font-family: Microsoft YaHei, Microsoft YaHei;
  1543. font-weight: 400;
  1544. font-size: 20px;
  1545. color: #333333;
  1546. a {
  1547. color: #333333;
  1548. }
  1549. em {
  1550. display: inline-block;
  1551. width: 8px;
  1552. height: 8px;
  1553. background-color: #a01c0e;
  1554. border-radius: 4px;
  1555. position: absolute;
  1556. top: 9px;
  1557. right: 6px;
  1558. }
  1559. }
  1560. .part3_left_title {
  1561. float: left;
  1562. margin-right: 20px;
  1563. width: 100px;
  1564. height: 50px;
  1565. line-height: 50px;
  1566. position: relative;
  1567. font-family: Microsoft YaHei, Microsoft YaHei;
  1568. font-weight: 400;
  1569. font-size: 20px;
  1570. color: #999999;
  1571. a {
  1572. color: #999999;
  1573. }
  1574. // em{
  1575. // display: inline-block;
  1576. // width: 8px;
  1577. // height: 8px;
  1578. // background-color: #a01c0e;
  1579. // border-radius: 4px;
  1580. // position: absolute;
  1581. // top: 9px;
  1582. // right: 6px;
  1583. // }
  1584. }
  1585. }
  1586. .part3_left_content {
  1587. width: 720px;
  1588. margin-top: 20px;
  1589. .part3_left_content_top {
  1590. .content_top_left {
  1591. float: left;
  1592. width: 350px;
  1593. height: 484px;
  1594. .part3_photo_text {
  1595. width: 350px;
  1596. height: 280px;
  1597. position: relative;
  1598. img {
  1599. width: 350px;
  1600. height: 230px;
  1601. }
  1602. .littleTips {
  1603. display: inline-block;
  1604. width: 50px;
  1605. height: 26px;
  1606. line-height: 26px;
  1607. text-align: center;
  1608. background-color: #a01c0e;
  1609. font-family: Microsoft YaHei, Microsoft YaHei;
  1610. font-weight: 400;
  1611. font-size: 16px;
  1612. color: #fff;
  1613. position: absolute;
  1614. top: 0;
  1615. right: 10px;
  1616. }
  1617. .part3_text {
  1618. display: inline-block;
  1619. width: 350px;
  1620. height: 26px;
  1621. white-space: nowrap;
  1622. overflow: hidden;
  1623. text-overflow: ellipsis;
  1624. font-family: Microsoft YaHei, Microsoft YaHei;
  1625. font-weight: bold;
  1626. font-size: 18px;
  1627. color: #333333;
  1628. margin-top: 15px;
  1629. }
  1630. }
  1631. .part3_photo_text:hover {
  1632. .part3_text {
  1633. color: #a01c0e;
  1634. }
  1635. }
  1636. .part3_content {
  1637. width: 350px;
  1638. .part3_content_list:first-child {
  1639. width: 350px;
  1640. height: 25px;
  1641. white-space: nowrap;
  1642. overflow: hidden;
  1643. text-overflow: ellipsis;
  1644. font-family: Microsoft YaHei, Microsoft YaHei;
  1645. font-weight: bold;
  1646. font-size: 18px;
  1647. color: #333333;
  1648. line-height: 22px;
  1649. margin-top: 35px;
  1650. a {
  1651. color: #333333;
  1652. }
  1653. }
  1654. .part3_content_list:first-child:hover {
  1655. a {
  1656. color: #a01c0e;
  1657. }
  1658. }
  1659. .part3_content_list:last-child {
  1660. margin-bottom: 0;
  1661. }
  1662. .part3_content_list {
  1663. width: 350px;
  1664. height: 25px;
  1665. white-space: nowrap;
  1666. overflow: hidden;
  1667. text-overflow: ellipsis;
  1668. font-family: Microsoft YaHei, Microsoft YaHei;
  1669. font-weight: 400;
  1670. font-size: 18px;
  1671. color: #333333;
  1672. line-height: 22px;
  1673. margin-bottom: 27px;
  1674. a {
  1675. color: #333333;
  1676. }
  1677. }
  1678. .part3_content_list:hover {
  1679. a {
  1680. color: #a01c0e;
  1681. }
  1682. }
  1683. }
  1684. }
  1685. .content_top_right {
  1686. float: left;
  1687. width: 350px;
  1688. height: 542px;
  1689. border: 1px solid #D9D9D9;
  1690. margin-left: 20px;
  1691. padding: 30px 25px;
  1692. box-sizing: border-box;
  1693. .content_right_list {
  1694. width: 350px;
  1695. height: 58px;
  1696. line-height: 58px;
  1697. margin-bottom: 48px;
  1698. .part3_time {
  1699. float: left;
  1700. width: 77px;
  1701. height: 58px;
  1702. color: #a01c0e;
  1703. .month {
  1704. font-family: Microsoft YaHei, Microsoft YaHei;
  1705. font-weight: 400;
  1706. font-size: 26px;
  1707. color: #A01C0E;
  1708. line-height: 30px;
  1709. }
  1710. .xiegang {
  1711. font-size: 22px;
  1712. font-weight: 400;
  1713. }
  1714. .day {
  1715. font-family: Microsoft YaHei, Microsoft YaHei;
  1716. font-weight: 400;
  1717. font-size: 16px;
  1718. color: #A01C0E;
  1719. line-height: 19px;
  1720. }
  1721. }
  1722. .time_left_content {
  1723. float: left;
  1724. width: 231px;
  1725. height: 58px;
  1726. display: -webkit-box;
  1727. -webkit-box-orient: vertical;
  1728. -webkit-line-clamp: 2;
  1729. overflow: hidden;
  1730. text-overflow: ellipsis;
  1731. word-break: break-all;
  1732. line-height: 22px;
  1733. padding-top: 12px;
  1734. box-sizing: border-box;
  1735. font-family: Microsoft YaHei, Microsoft YaHei;
  1736. font-weight: 400;
  1737. font-size: 18px;
  1738. color: #333333;
  1739. border-left: 1px solid #D9D9D9;
  1740. padding-left: 22px;
  1741. a {
  1742. color: #333333;
  1743. }
  1744. a:hover {
  1745. color: #a01c0e;
  1746. }
  1747. }
  1748. }
  1749. .content_right_list:hover {
  1750. .time_left_content {
  1751. color: #a01c0e;
  1752. }
  1753. }
  1754. }
  1755. }
  1756. }
  1757. }
  1758. .part3_left_bottom {
  1759. width: 720px;
  1760. margin-top: 25px;
  1761. .part3_leftTitle1 {
  1762. width: 720px;
  1763. height: 50px;
  1764. line-height: 50px;
  1765. margin-bottom: 25px;
  1766. .part3_left_title_active {
  1767. float: left;
  1768. margin-right: 20px;
  1769. width: 100px;
  1770. height: 50px;
  1771. line-height: 50px;
  1772. position: relative;
  1773. font-family: Microsoft YaHei, Microsoft YaHei;
  1774. font-weight: 400;
  1775. font-size: 20px;
  1776. color: #333333;
  1777. a.active {
  1778. color: #333333;
  1779. }
  1780. em {
  1781. display: inline-block;
  1782. width: 8px;
  1783. height: 8px;
  1784. background-color: #a01c0e;
  1785. border-radius: 4px;
  1786. position: absolute;
  1787. top: 9px;
  1788. right: 6px;
  1789. }
  1790. }
  1791. .part3_left_title {
  1792. float: left;
  1793. margin-right: 20px;
  1794. width: 100px;
  1795. height: 50px;
  1796. line-height: 50px;
  1797. position: relative;
  1798. font-family: Microsoft YaHei, Microsoft YaHei;
  1799. font-weight: 400;
  1800. font-size: 20px;
  1801. color: #999999;
  1802. a {
  1803. color: #999999;
  1804. }
  1805. // em{
  1806. // display: inline-block;
  1807. // width: 8px;
  1808. // height: 8px;
  1809. // background-color: #a01c0e;
  1810. // border-radius: 4px;
  1811. // position: absolute;
  1812. // top: 9px;
  1813. // right: 6px;
  1814. // }
  1815. }
  1816. }
  1817. .part3_left_content1 {
  1818. width: 720px;
  1819. .content_bottom_left {
  1820. float: left;
  1821. width: 350px;
  1822. // height: 350px;
  1823. .content_top {
  1824. width: 350px;
  1825. img {
  1826. width: 350px;
  1827. height: 230px;
  1828. }
  1829. .part3_text {
  1830. display: inline-block;
  1831. width: 350px;
  1832. height: 50px;
  1833. line-height: 22px;
  1834. display: -webkit-box;
  1835. -webkit-box-orient: vertical;
  1836. -webkit-line-clamp: 2;
  1837. overflow: hidden;
  1838. text-overflow: ellipsis;
  1839. word-break: break-all;
  1840. margin-top: 15px;
  1841. font-family: Microsoft YaHei, Microsoft YaHei;
  1842. font-weight: bold;
  1843. font-size: 18px;
  1844. color: #333333
  1845. }
  1846. }
  1847. .content_top:hover {
  1848. .part3_text {
  1849. color: #a01c0e;
  1850. }
  1851. }
  1852. .content_bottom {
  1853. width: 350px;
  1854. margin-top: 20px;
  1855. .content_bottom_1 {
  1856. float: left;
  1857. width: 165px;
  1858. img {
  1859. width: 165px;
  1860. height: 96px;
  1861. }
  1862. .part3_text {
  1863. display: inline-block;
  1864. width: 165px;
  1865. height: 44px;
  1866. line-height: 22px;
  1867. display: -webkit-box;
  1868. -webkit-box-orient: vertical;
  1869. -webkit-line-clamp: 2;
  1870. overflow: hidden;
  1871. text-overflow: ellipsis;
  1872. word-break: break-all;
  1873. font-family: Microsoft YaHei, Microsoft YaHei;
  1874. font-weight: 400;
  1875. font-size: 18px;
  1876. color: #333333;
  1877. margin-top: 10px;
  1878. }
  1879. }
  1880. .content_bottom_1:hover {
  1881. .part3_text {
  1882. color: #a01c0e;
  1883. }
  1884. }
  1885. .content_bottom_1:first-child {
  1886. margin-right: 20px;
  1887. }
  1888. }
  1889. }
  1890. .content_bottom_right {
  1891. float: left;
  1892. margin-left: 20px;
  1893. width: 350px;
  1894. .bottom_content_1 {
  1895. width: 350px;
  1896. .bottom_content_list:nth-child(5n+1) {
  1897. font-weight: bold;
  1898. }
  1899. .bottom_content_list {
  1900. width: 350px;
  1901. height: 25px;
  1902. white-space: nowrap;
  1903. overflow: hidden;
  1904. text-overflow: ellipsis;
  1905. font-family: Microsoft YaHei, Microsoft YaHei;
  1906. font-weight: 400;
  1907. font-size: 18px;
  1908. color: #333333;
  1909. line-height: 21px;
  1910. margin-bottom: 25px;
  1911. a {
  1912. color: #333333;
  1913. }
  1914. }
  1915. .bottom_content_list:hover {
  1916. a {
  1917. color: #a01c0e;
  1918. }
  1919. }
  1920. }
  1921. .bottom_content_1:first-child {
  1922. margin-bottom: 20px;
  1923. }
  1924. .bottom_content_1:last-child {
  1925. .bottom_content_list:last-child {
  1926. margin-bottom: 0;
  1927. }
  1928. }
  1929. }
  1930. }
  1931. }
  1932. }
  1933. .part3_right {
  1934. float: right;
  1935. width: 451px;
  1936. .part3_rightTitle {
  1937. width: 451px;
  1938. height: 50px;
  1939. line-height: 50px;
  1940. .part3_right_title:first-child {
  1941. float: left;
  1942. margin-right: 20px;
  1943. width: 100px;
  1944. height: 50px;
  1945. line-height: 50px;
  1946. position: relative;
  1947. font-family: Microsoft YaHei, Microsoft YaHei;
  1948. font-weight: 400;
  1949. font-size: 20px;
  1950. color: #333333;
  1951. a {
  1952. color: #333333;
  1953. }
  1954. em {
  1955. display: inline-block;
  1956. width: 8px;
  1957. height: 8px;
  1958. background-color: #a01c0e;
  1959. border-radius: 4px;
  1960. position: absolute;
  1961. top: 9px;
  1962. right: 6px;
  1963. }
  1964. }
  1965. .part3_right_title {
  1966. float: left;
  1967. margin-right: 20px;
  1968. width: 100px;
  1969. height: 50px;
  1970. line-height: 50px;
  1971. position: relative;
  1972. font-family: Microsoft YaHei, Microsoft YaHei;
  1973. font-weight: 400;
  1974. font-size: 20px;
  1975. color: #999999;
  1976. a {
  1977. color: #999999;
  1978. }
  1979. // em{
  1980. // display: inline-block;
  1981. // width: 8px;
  1982. // height: 8px;
  1983. // background-color: #a01c0e;
  1984. // border-radius: 4px;
  1985. // position: absolute;
  1986. // top: 9px;
  1987. // right: 6px;
  1988. // }
  1989. }
  1990. .rightMore {
  1991. float: right;
  1992. font-family: Microsoft YaHei, Microsoft YaHei;
  1993. font-weight: 400;
  1994. font-size: 12px;
  1995. color: #999999;
  1996. a {
  1997. color: #999999;
  1998. }
  1999. }
  2000. }
  2001. .part3_right_content_top {
  2002. width: 451px;
  2003. height: 325px;
  2004. position: relative;
  2005. margin-top: 20px;
  2006. .part3_right_contentlist_top {
  2007. font-family: Microsoft YaHei, Microsoft YaHei;
  2008. font-weight: 400;
  2009. font-size: 18px;
  2010. color: #333333;
  2011. width: 425px;
  2012. height: 25px;
  2013. white-space: nowrap;
  2014. overflow: hidden;
  2015. text-overflow: ellipsis;
  2016. margin-bottom: 25px;
  2017. a {
  2018. color: #333333;
  2019. }
  2020. .numStyle {
  2021. display: inline-block;
  2022. width: 22px;
  2023. height: 22px;
  2024. background-color: #f6f6f6;
  2025. text-align: center;
  2026. margin-right: 20px;
  2027. font-family: Protest Strike, Protest Strike;
  2028. font-weight: 400;
  2029. font-size: 16px;
  2030. color: #CCCCCC;
  2031. border-radius: 4px;
  2032. }
  2033. }
  2034. .part3_right_contentlist_top:hover {
  2035. color: #a01c0e;
  2036. a {
  2037. color: #a01c0e;
  2038. }
  2039. }
  2040. .part3_right_contentlist_top:nth-child(1) {
  2041. .numStyle {
  2042. background-color: #a01c0e;
  2043. color: #fff;
  2044. }
  2045. }
  2046. .part3_right_contentlist_top:nth-child(2) {
  2047. .numStyle {
  2048. background-color: #FFC62E;
  2049. color: #fff;
  2050. }
  2051. }
  2052. .part3_right_contentlist_top:nth-child(3) {
  2053. .numStyle {
  2054. background-color: #e98008;
  2055. color: #fff;
  2056. }
  2057. }
  2058. .part3_right_contentlist_top:last-child {
  2059. margin-bottom: 10px;
  2060. }
  2061. }
  2062. .part3_photo_text_right {
  2063. width: 451px;
  2064. height: 120px;
  2065. margin-top: 35px;
  2066. margin-bottom: 35px;
  2067. background-color: #f6f3f0;
  2068. .part3_text11 {
  2069. float: left;
  2070. width: 271px;
  2071. height: 96px;
  2072. display: -webkit-box;
  2073. -webkit-box-orient: vertical;
  2074. -webkit-line-clamp: 3;
  2075. overflow: hidden;
  2076. text-overflow: ellipsis;
  2077. word-break: break-all;
  2078. font-family: Microsoft YaHei, Microsoft YaHei;
  2079. font-weight: 400;
  2080. font-size: 18px;
  2081. color: #333333;
  2082. padding: 25px 20px;
  2083. box-sizing: border-box;
  2084. }
  2085. img {
  2086. float: left;
  2087. width: 180px;
  2088. height: 120px;
  2089. }
  2090. }
  2091. .part3_photo_text_right:hover {
  2092. color: #a01c0e;
  2093. .part3_text11 {
  2094. color: #a01c0e;
  2095. }
  2096. }
  2097. .part3_right_content_11 {
  2098. width: 451px;
  2099. height: 70px;
  2100. position: relative;
  2101. .part3_right_contentlist_11 {
  2102. width: 451px;
  2103. height: 25px;
  2104. white-space: nowrap;
  2105. overflow: hidden;
  2106. text-overflow: ellipsis;
  2107. font-family: Microsoft YaHei, Microsoft YaHei;
  2108. font-weight: 400;
  2109. font-size: 18px;
  2110. color: #333333;
  2111. line-height: 21px;
  2112. .erjibiaoti {
  2113. display: inline-block;
  2114. width: 87px;
  2115. height: 24px;
  2116. font-family: Microsoft YaHei, Microsoft YaHei;
  2117. font-weight: 400;
  2118. font-size: 18px;
  2119. color: #A01C0E;
  2120. border-right: #D3D5D8 1px solid;
  2121. margin-right: 10px;
  2122. }
  2123. a {
  2124. color: #333333;
  2125. }
  2126. }
  2127. .part3_right_contentlist_11:hover {
  2128. color: #a01c0e;
  2129. a {
  2130. color: #a01c0e;
  2131. }
  2132. }
  2133. .part3_right_contentlist_11:first-child {
  2134. margin-bottom: 25px;
  2135. }
  2136. }
  2137. }
  2138. }
  2139. }
  2140. </style>